package com.snmp.service.demo.snmpserver;

import org.snmp4j.agent.mo.MOAccessImpl;
import org.snmp4j.agent.mo.MOScalar;
import org.snmp4j.smi.OID;
import org.snmp4j.smi.OctetString;

/**
 * @author hch
 * @创建人 hch
 * @创建时间 2021/4/26 11:41
 * @描述 TODO
 * @版本 1.0.0
 */
public class SysDate extends MOScalar<OctetString> {


    public SysDate() {
        super(new OID("1.3.6.1.4.1.12321.1.1.1.2.0"), MOAccessImpl.ACCESS_READ_ONLY,
                new OctetString("www.mye.com"));
    }

    @Override
    public OctetString getValue() {
        return new OctetString("www.mye.com");
    }

}



